package cn.iocoder.yudao.module.pypm.controller.admin.attachment.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;


@Schema(description = "管理后台 - 附件信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AttachmentRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30104")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2022")
    @ExcelProperty("项目ID")
    private Long projectId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "所属ID;属于哪个表ID", example = "18304")
    @ExcelProperty("所属ID;属于哪个表ID")
    private Long relevanceId;

    @Schema(description = "文件名称", example = "芋艿")
    @ExcelProperty("文件名称")
    private String fileName;

    @Schema(description = "文件路径")
    @ExcelProperty("文件路径")
    private String filePath;

    @Schema(description = "URL", example = "https://www.iocoder.cn")
    @ExcelProperty("URL")
    private String url;

    @Schema(description = "文件类型", example = "1")
    @ExcelProperty("文件类型")
    private String fileType;

    @Schema(description = "关联名称", example = "芋艿")
    @ExcelProperty("关联名称")
    private String relevanceName;

    @Schema(description = "文件原名", example = "张三")
    @ExcelProperty("文件原名")
    private String originalFileName;

    @Schema(description = "外网地址", example = "https://www.iocoder.cn")
    @ExcelProperty("外网地址")
    private String netUrl;

}